/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.portal.model.sql;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2019-05-23
 * @version 1.0
 * @since 1.0
 */
public class ArticleCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static ArticleCriteria create() {
		return new ArticleCriteria();
	}
	
	public static ArticleCriteria create(Column column) {
		ArticleCriteria that = new ArticleCriteria();
		that.add(column);
        return that;
    }

    public static ArticleCriteria create(String name, Object value) {
        return (ArticleCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("cms_article", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public ArticleCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public ArticleCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public ArticleCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public ArticleCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public ArticleCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public ArticleCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public ArticleCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public ArticleCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public ArticleCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public ArticleCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public ArticleCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public ArticleCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public ArticleCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public ArticleCriteria andIdIsNull() {
		isnull("id");
		return this;
	}
	
	public ArticleCriteria andIdIsNotNull() {
		notNull("id");
		return this;
	}
	
	public ArticleCriteria andIdIsEmpty() {
		empty("id");
		return this;
	}

	public ArticleCriteria andIdIsNotEmpty() {
		notEmpty("id");
		return this;
	}
       public ArticleCriteria andIdEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andIdNotEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.NOT_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andIdGreaterThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andIdLessThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("id", value1, value2, ConditionMode.BETWEEN, "id", "java.lang.Long", "Float");
    	  return this;
      }

      public ArticleCriteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("id", value1, value2, ConditionMode.NOT_BETWEEN, "id", "java.lang.Long", "Float");
          return this;
      }
        
      public ArticleCriteria andIdIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.IN, "id", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andIdNotIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.NOT_IN, "id", "java.lang.Long", "Float");
          return this;
      }
	public ArticleCriteria andPidIsNull() {
		isnull("pid");
		return this;
	}
	
	public ArticleCriteria andPidIsNotNull() {
		notNull("pid");
		return this;
	}
	
	public ArticleCriteria andPidIsEmpty() {
		empty("pid");
		return this;
	}

	public ArticleCriteria andPidIsNotEmpty() {
		notEmpty("pid");
		return this;
	}
       public ArticleCriteria andPidEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andPidNotEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.NOT_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andPidGreaterThan(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.GREATER_THEN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andPidGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.GREATER_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andPidLessThan(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.LESS_THEN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andPidLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("pid", value, ConditionMode.LESS_EQUAL, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andPidBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("pid", value1, value2, ConditionMode.BETWEEN, "pid", "java.lang.Integer", "Float");
    	  return this;
      }

      public ArticleCriteria andPidNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("pid", value1, value2, ConditionMode.NOT_BETWEEN, "pid", "java.lang.Integer", "Float");
          return this;
      }
        
      public ArticleCriteria andPidIn(List<java.lang.Integer> values) {
          addCriterion("pid", values, ConditionMode.IN, "pid", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andPidNotIn(List<java.lang.Integer> values) {
          addCriterion("pid", values, ConditionMode.NOT_IN, "pid", "java.lang.Integer", "Float");
          return this;
      }
	public ArticleCriteria andSlugIsNull() {
		isnull("slug");
		return this;
	}
	
	public ArticleCriteria andSlugIsNotNull() {
		notNull("slug");
		return this;
	}
	
	public ArticleCriteria andSlugIsEmpty() {
		empty("slug");
		return this;
	}

	public ArticleCriteria andSlugIsNotEmpty() {
		notEmpty("slug");
		return this;
	}
        public ArticleCriteria andSlugLike(java.lang.String value) {
    	   addCriterion("slug", value, ConditionMode.FUZZY, "slug", "java.lang.String", "Float");
    	   return this;
      }

      public ArticleCriteria andSlugNotLike(java.lang.String value) {
          addCriterion("slug", value, ConditionMode.NOT_FUZZY, "slug", "java.lang.String", "Float");
          return this;
      }
      public ArticleCriteria andSlugEqualTo(java.lang.String value) {
          addCriterion("slug", value, ConditionMode.EQUAL, "slug", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSlugNotEqualTo(java.lang.String value) {
          addCriterion("slug", value, ConditionMode.NOT_EQUAL, "slug", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSlugGreaterThan(java.lang.String value) {
          addCriterion("slug", value, ConditionMode.GREATER_THEN, "slug", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSlugGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("slug", value, ConditionMode.GREATER_EQUAL, "slug", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSlugLessThan(java.lang.String value) {
          addCriterion("slug", value, ConditionMode.LESS_THEN, "slug", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSlugLessThanOrEqualTo(java.lang.String value) {
          addCriterion("slug", value, ConditionMode.LESS_EQUAL, "slug", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSlugBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("slug", value1, value2, ConditionMode.BETWEEN, "slug", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andSlugNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("slug", value1, value2, ConditionMode.NOT_BETWEEN, "slug", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andSlugIn(List<java.lang.String> values) {
          addCriterion("slug", values, ConditionMode.IN, "slug", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSlugNotIn(List<java.lang.String> values) {
          addCriterion("slug", values, ConditionMode.NOT_IN, "slug", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andTitleIsNull() {
		isnull("title");
		return this;
	}
	
	public ArticleCriteria andTitleIsNotNull() {
		notNull("title");
		return this;
	}
	
	public ArticleCriteria andTitleIsEmpty() {
		empty("title");
		return this;
	}

	public ArticleCriteria andTitleIsNotEmpty() {
		notEmpty("title");
		return this;
	}
        public ArticleCriteria andTitleLike(java.lang.String value) {
    	   addCriterion("title", value, ConditionMode.FUZZY, "title", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andTitleNotLike(java.lang.String value) {
          addCriterion("title", value, ConditionMode.NOT_FUZZY, "title", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andTitleEqualTo(java.lang.String value) {
          addCriterion("title", value, ConditionMode.EQUAL, "title", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andTitleNotEqualTo(java.lang.String value) {
          addCriterion("title", value, ConditionMode.NOT_EQUAL, "title", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andTitleGreaterThan(java.lang.String value) {
          addCriterion("title", value, ConditionMode.GREATER_THEN, "title", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andTitleGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("title", value, ConditionMode.GREATER_EQUAL, "title", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andTitleLessThan(java.lang.String value) {
          addCriterion("title", value, ConditionMode.LESS_THEN, "title", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andTitleLessThanOrEqualTo(java.lang.String value) {
          addCriterion("title", value, ConditionMode.LESS_EQUAL, "title", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andTitleBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("title", value1, value2, ConditionMode.BETWEEN, "title", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andTitleNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("title", value1, value2, ConditionMode.NOT_BETWEEN, "title", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andTitleIn(List<java.lang.String> values) {
          addCriterion("title", values, ConditionMode.IN, "title", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andTitleNotIn(List<java.lang.String> values) {
          addCriterion("title", values, ConditionMode.NOT_IN, "title", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andContentIsNull() {
		isnull("content");
		return this;
	}
	
	public ArticleCriteria andContentIsNotNull() {
		notNull("content");
		return this;
	}
	
	public ArticleCriteria andContentIsEmpty() {
		empty("content");
		return this;
	}

	public ArticleCriteria andContentIsNotEmpty() {
		notEmpty("content");
		return this;
	}
        public ArticleCriteria andContentLike(java.lang.String value) {
    	   addCriterion("content", value, ConditionMode.FUZZY, "content", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andContentNotLike(java.lang.String value) {
          addCriterion("content", value, ConditionMode.NOT_FUZZY, "content", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andContentEqualTo(java.lang.String value) {
          addCriterion("content", value, ConditionMode.EQUAL, "content", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andContentNotEqualTo(java.lang.String value) {
          addCriterion("content", value, ConditionMode.NOT_EQUAL, "content", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andContentGreaterThan(java.lang.String value) {
          addCriterion("content", value, ConditionMode.GREATER_THEN, "content", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andContentGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("content", value, ConditionMode.GREATER_EQUAL, "content", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andContentLessThan(java.lang.String value) {
          addCriterion("content", value, ConditionMode.LESS_THEN, "content", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andContentLessThanOrEqualTo(java.lang.String value) {
          addCriterion("content", value, ConditionMode.LESS_EQUAL, "content", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andContentBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("content", value1, value2, ConditionMode.BETWEEN, "content", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andContentNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("content", value1, value2, ConditionMode.NOT_BETWEEN, "content", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andContentIn(List<java.lang.String> values) {
          addCriterion("content", values, ConditionMode.IN, "content", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andContentNotIn(List<java.lang.String> values) {
          addCriterion("content", values, ConditionMode.NOT_IN, "content", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andEditModeIsNull() {
		isnull("edit_mode");
		return this;
	}
	
	public ArticleCriteria andEditModeIsNotNull() {
		notNull("edit_mode");
		return this;
	}
	
	public ArticleCriteria andEditModeIsEmpty() {
		empty("edit_mode");
		return this;
	}

	public ArticleCriteria andEditModeIsNotEmpty() {
		notEmpty("edit_mode");
		return this;
	}
        public ArticleCriteria andEditModeLike(java.lang.String value) {
    	   addCriterion("edit_mode", value, ConditionMode.FUZZY, "editMode", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andEditModeNotLike(java.lang.String value) {
          addCriterion("edit_mode", value, ConditionMode.NOT_FUZZY, "editMode", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andEditModeEqualTo(java.lang.String value) {
          addCriterion("edit_mode", value, ConditionMode.EQUAL, "editMode", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andEditModeNotEqualTo(java.lang.String value) {
          addCriterion("edit_mode", value, ConditionMode.NOT_EQUAL, "editMode", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andEditModeGreaterThan(java.lang.String value) {
          addCriterion("edit_mode", value, ConditionMode.GREATER_THEN, "editMode", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andEditModeGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("edit_mode", value, ConditionMode.GREATER_EQUAL, "editMode", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andEditModeLessThan(java.lang.String value) {
          addCriterion("edit_mode", value, ConditionMode.LESS_THEN, "editMode", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andEditModeLessThanOrEqualTo(java.lang.String value) {
          addCriterion("edit_mode", value, ConditionMode.LESS_EQUAL, "editMode", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andEditModeBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("edit_mode", value1, value2, ConditionMode.BETWEEN, "editMode", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andEditModeNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("edit_mode", value1, value2, ConditionMode.NOT_BETWEEN, "editMode", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andEditModeIn(List<java.lang.String> values) {
          addCriterion("edit_mode", values, ConditionMode.IN, "editMode", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andEditModeNotIn(List<java.lang.String> values) {
          addCriterion("edit_mode", values, ConditionMode.NOT_IN, "editMode", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andSummaryIsNull() {
		isnull("summary");
		return this;
	}
	
	public ArticleCriteria andSummaryIsNotNull() {
		notNull("summary");
		return this;
	}
	
	public ArticleCriteria andSummaryIsEmpty() {
		empty("summary");
		return this;
	}

	public ArticleCriteria andSummaryIsNotEmpty() {
		notEmpty("summary");
		return this;
	}
        public ArticleCriteria andSummaryLike(java.lang.String value) {
    	   addCriterion("summary", value, ConditionMode.FUZZY, "summary", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andSummaryNotLike(java.lang.String value) {
          addCriterion("summary", value, ConditionMode.NOT_FUZZY, "summary", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andSummaryEqualTo(java.lang.String value) {
          addCriterion("summary", value, ConditionMode.EQUAL, "summary", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSummaryNotEqualTo(java.lang.String value) {
          addCriterion("summary", value, ConditionMode.NOT_EQUAL, "summary", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSummaryGreaterThan(java.lang.String value) {
          addCriterion("summary", value, ConditionMode.GREATER_THEN, "summary", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSummaryGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("summary", value, ConditionMode.GREATER_EQUAL, "summary", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSummaryLessThan(java.lang.String value) {
          addCriterion("summary", value, ConditionMode.LESS_THEN, "summary", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSummaryLessThanOrEqualTo(java.lang.String value) {
          addCriterion("summary", value, ConditionMode.LESS_EQUAL, "summary", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSummaryBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("summary", value1, value2, ConditionMode.BETWEEN, "summary", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andSummaryNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("summary", value1, value2, ConditionMode.NOT_BETWEEN, "summary", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andSummaryIn(List<java.lang.String> values) {
          addCriterion("summary", values, ConditionMode.IN, "summary", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andSummaryNotIn(List<java.lang.String> values) {
          addCriterion("summary", values, ConditionMode.NOT_IN, "summary", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andLinkToIsNull() {
		isnull("link_to");
		return this;
	}
	
	public ArticleCriteria andLinkToIsNotNull() {
		notNull("link_to");
		return this;
	}
	
	public ArticleCriteria andLinkToIsEmpty() {
		empty("link_to");
		return this;
	}

	public ArticleCriteria andLinkToIsNotEmpty() {
		notEmpty("link_to");
		return this;
	}
        public ArticleCriteria andLinkToLike(java.lang.String value) {
    	   addCriterion("link_to", value, ConditionMode.FUZZY, "linkTo", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andLinkToNotLike(java.lang.String value) {
          addCriterion("link_to", value, ConditionMode.NOT_FUZZY, "linkTo", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andLinkToEqualTo(java.lang.String value) {
          addCriterion("link_to", value, ConditionMode.EQUAL, "linkTo", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andLinkToNotEqualTo(java.lang.String value) {
          addCriterion("link_to", value, ConditionMode.NOT_EQUAL, "linkTo", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andLinkToGreaterThan(java.lang.String value) {
          addCriterion("link_to", value, ConditionMode.GREATER_THEN, "linkTo", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andLinkToGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("link_to", value, ConditionMode.GREATER_EQUAL, "linkTo", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andLinkToLessThan(java.lang.String value) {
          addCriterion("link_to", value, ConditionMode.LESS_THEN, "linkTo", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andLinkToLessThanOrEqualTo(java.lang.String value) {
          addCriterion("link_to", value, ConditionMode.LESS_EQUAL, "linkTo", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andLinkToBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("link_to", value1, value2, ConditionMode.BETWEEN, "linkTo", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andLinkToNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("link_to", value1, value2, ConditionMode.NOT_BETWEEN, "linkTo", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andLinkToIn(List<java.lang.String> values) {
          addCriterion("link_to", values, ConditionMode.IN, "linkTo", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andLinkToNotIn(List<java.lang.String> values) {
          addCriterion("link_to", values, ConditionMode.NOT_IN, "linkTo", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andFromurlIsNull() {
		isnull("fromurl");
		return this;
	}
	
	public ArticleCriteria andFromurlIsNotNull() {
		notNull("fromurl");
		return this;
	}
	
	public ArticleCriteria andFromurlIsEmpty() {
		empty("fromurl");
		return this;
	}

	public ArticleCriteria andFromurlIsNotEmpty() {
		notEmpty("fromurl");
		return this;
	}
        public ArticleCriteria andFromurlLike(java.lang.String value) {
    	   addCriterion("fromurl", value, ConditionMode.FUZZY, "fromurl", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andFromurlNotLike(java.lang.String value) {
          addCriterion("fromurl", value, ConditionMode.NOT_FUZZY, "fromurl", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andFromurlEqualTo(java.lang.String value) {
          addCriterion("fromurl", value, ConditionMode.EQUAL, "fromurl", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFromurlNotEqualTo(java.lang.String value) {
          addCriterion("fromurl", value, ConditionMode.NOT_EQUAL, "fromurl", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFromurlGreaterThan(java.lang.String value) {
          addCriterion("fromurl", value, ConditionMode.GREATER_THEN, "fromurl", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFromurlGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("fromurl", value, ConditionMode.GREATER_EQUAL, "fromurl", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFromurlLessThan(java.lang.String value) {
          addCriterion("fromurl", value, ConditionMode.LESS_THEN, "fromurl", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFromurlLessThanOrEqualTo(java.lang.String value) {
          addCriterion("fromurl", value, ConditionMode.LESS_EQUAL, "fromurl", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFromurlBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("fromurl", value1, value2, ConditionMode.BETWEEN, "fromurl", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andFromurlNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("fromurl", value1, value2, ConditionMode.NOT_BETWEEN, "fromurl", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andFromurlIn(List<java.lang.String> values) {
          addCriterion("fromurl", values, ConditionMode.IN, "fromurl", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFromurlNotIn(List<java.lang.String> values) {
          addCriterion("fromurl", values, ConditionMode.NOT_IN, "fromurl", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andThumbnailIsNull() {
		isnull("thumbnail");
		return this;
	}
	
	public ArticleCriteria andThumbnailIsNotNull() {
		notNull("thumbnail");
		return this;
	}
	
	public ArticleCriteria andThumbnailIsEmpty() {
		empty("thumbnail");
		return this;
	}

	public ArticleCriteria andThumbnailIsNotEmpty() {
		notEmpty("thumbnail");
		return this;
	}
        public ArticleCriteria andThumbnailLike(java.lang.String value) {
    	   addCriterion("thumbnail", value, ConditionMode.FUZZY, "thumbnail", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andThumbnailNotLike(java.lang.String value) {
          addCriterion("thumbnail", value, ConditionMode.NOT_FUZZY, "thumbnail", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andThumbnailEqualTo(java.lang.String value) {
          addCriterion("thumbnail", value, ConditionMode.EQUAL, "thumbnail", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andThumbnailNotEqualTo(java.lang.String value) {
          addCriterion("thumbnail", value, ConditionMode.NOT_EQUAL, "thumbnail", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andThumbnailGreaterThan(java.lang.String value) {
          addCriterion("thumbnail", value, ConditionMode.GREATER_THEN, "thumbnail", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andThumbnailGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("thumbnail", value, ConditionMode.GREATER_EQUAL, "thumbnail", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andThumbnailLessThan(java.lang.String value) {
          addCriterion("thumbnail", value, ConditionMode.LESS_THEN, "thumbnail", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andThumbnailLessThanOrEqualTo(java.lang.String value) {
          addCriterion("thumbnail", value, ConditionMode.LESS_EQUAL, "thumbnail", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andThumbnailBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("thumbnail", value1, value2, ConditionMode.BETWEEN, "thumbnail", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andThumbnailNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("thumbnail", value1, value2, ConditionMode.NOT_BETWEEN, "thumbnail", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andThumbnailIn(List<java.lang.String> values) {
          addCriterion("thumbnail", values, ConditionMode.IN, "thumbnail", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andThumbnailNotIn(List<java.lang.String> values) {
          addCriterion("thumbnail", values, ConditionMode.NOT_IN, "thumbnail", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andStyleIsNull() {
		isnull("style");
		return this;
	}
	
	public ArticleCriteria andStyleIsNotNull() {
		notNull("style");
		return this;
	}
	
	public ArticleCriteria andStyleIsEmpty() {
		empty("style");
		return this;
	}

	public ArticleCriteria andStyleIsNotEmpty() {
		notEmpty("style");
		return this;
	}
        public ArticleCriteria andStyleLike(java.lang.String value) {
    	   addCriterion("style", value, ConditionMode.FUZZY, "style", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andStyleNotLike(java.lang.String value) {
          addCriterion("style", value, ConditionMode.NOT_FUZZY, "style", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andStyleEqualTo(java.lang.String value) {
          addCriterion("style", value, ConditionMode.EQUAL, "style", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStyleNotEqualTo(java.lang.String value) {
          addCriterion("style", value, ConditionMode.NOT_EQUAL, "style", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStyleGreaterThan(java.lang.String value) {
          addCriterion("style", value, ConditionMode.GREATER_THEN, "style", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStyleGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("style", value, ConditionMode.GREATER_EQUAL, "style", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStyleLessThan(java.lang.String value) {
          addCriterion("style", value, ConditionMode.LESS_THEN, "style", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStyleLessThanOrEqualTo(java.lang.String value) {
          addCriterion("style", value, ConditionMode.LESS_EQUAL, "style", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStyleBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("style", value1, value2, ConditionMode.BETWEEN, "style", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andStyleNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("style", value1, value2, ConditionMode.NOT_BETWEEN, "style", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andStyleIn(List<java.lang.String> values) {
          addCriterion("style", values, ConditionMode.IN, "style", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStyleNotIn(List<java.lang.String> values) {
          addCriterion("style", values, ConditionMode.NOT_IN, "style", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andUserIdIsNull() {
		isnull("user_id");
		return this;
	}
	
	public ArticleCriteria andUserIdIsNotNull() {
		notNull("user_id");
		return this;
	}
	
	public ArticleCriteria andUserIdIsEmpty() {
		empty("user_id");
		return this;
	}

	public ArticleCriteria andUserIdIsNotEmpty() {
		notEmpty("user_id");
		return this;
	}
       public ArticleCriteria andUserIdEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andUserIdNotEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.NOT_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andUserIdGreaterThan(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.GREATER_THEN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andUserIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.GREATER_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andUserIdLessThan(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.LESS_THEN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andUserIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.LESS_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andUserIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("user_id", value1, value2, ConditionMode.BETWEEN, "userId", "java.lang.Long", "Float");
    	  return this;
      }

      public ArticleCriteria andUserIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("user_id", value1, value2, ConditionMode.NOT_BETWEEN, "userId", "java.lang.Long", "Float");
          return this;
      }
        
      public ArticleCriteria andUserIdIn(List<java.lang.Long> values) {
          addCriterion("user_id", values, ConditionMode.IN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andUserIdNotIn(List<java.lang.Long> values) {
          addCriterion("user_id", values, ConditionMode.NOT_IN, "userId", "java.lang.Long", "Float");
          return this;
      }
	public ArticleCriteria andOrderNumberIsNull() {
		isnull("order_number");
		return this;
	}
	
	public ArticleCriteria andOrderNumberIsNotNull() {
		notNull("order_number");
		return this;
	}
	
	public ArticleCriteria andOrderNumberIsEmpty() {
		empty("order_number");
		return this;
	}

	public ArticleCriteria andOrderNumberIsNotEmpty() {
		notEmpty("order_number");
		return this;
	}
       public ArticleCriteria andOrderNumberEqualTo(java.lang.Long value) {
          addCriterion("order_number", value, ConditionMode.EQUAL, "orderNumber", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andOrderNumberNotEqualTo(java.lang.Long value) {
          addCriterion("order_number", value, ConditionMode.NOT_EQUAL, "orderNumber", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andOrderNumberGreaterThan(java.lang.Long value) {
          addCriterion("order_number", value, ConditionMode.GREATER_THEN, "orderNumber", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andOrderNumberGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("order_number", value, ConditionMode.GREATER_EQUAL, "orderNumber", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andOrderNumberLessThan(java.lang.Long value) {
          addCriterion("order_number", value, ConditionMode.LESS_THEN, "orderNumber", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andOrderNumberLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("order_number", value, ConditionMode.LESS_EQUAL, "orderNumber", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andOrderNumberBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("order_number", value1, value2, ConditionMode.BETWEEN, "orderNumber", "java.lang.Long", "Float");
    	  return this;
      }

      public ArticleCriteria andOrderNumberNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("order_number", value1, value2, ConditionMode.NOT_BETWEEN, "orderNumber", "java.lang.Long", "Float");
          return this;
      }
        
      public ArticleCriteria andOrderNumberIn(List<java.lang.Long> values) {
          addCriterion("order_number", values, ConditionMode.IN, "orderNumber", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andOrderNumberNotIn(List<java.lang.Long> values) {
          addCriterion("order_number", values, ConditionMode.NOT_IN, "orderNumber", "java.lang.Long", "Float");
          return this;
      }
	public ArticleCriteria andStatusIsNull() {
		isnull("status");
		return this;
	}
	
	public ArticleCriteria andStatusIsNotNull() {
		notNull("status");
		return this;
	}
	
	public ArticleCriteria andStatusIsEmpty() {
		empty("status");
		return this;
	}

	public ArticleCriteria andStatusIsNotEmpty() {
		notEmpty("status");
		return this;
	}
        public ArticleCriteria andStatusLike(java.lang.String value) {
    	   addCriterion("status", value, ConditionMode.FUZZY, "status", "java.lang.String", "Float");
    	   return this;
      }

      public ArticleCriteria andStatusNotLike(java.lang.String value) {
          addCriterion("status", value, ConditionMode.NOT_FUZZY, "status", "java.lang.String", "Float");
          return this;
      }
      public ArticleCriteria andStatusEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStatusNotEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.NOT_EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStatusGreaterThan(java.lang.String value) {
          addCriterion("status", value, ConditionMode.GREATER_THEN, "status", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStatusGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.GREATER_EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStatusLessThan(java.lang.String value) {
          addCriterion("status", value, ConditionMode.LESS_THEN, "status", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStatusLessThanOrEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.LESS_EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStatusBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("status", value1, value2, ConditionMode.BETWEEN, "status", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andStatusNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("status", value1, value2, ConditionMode.NOT_BETWEEN, "status", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andStatusIn(List<java.lang.String> values) {
          addCriterion("status", values, ConditionMode.IN, "status", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andStatusNotIn(List<java.lang.String> values) {
          addCriterion("status", values, ConditionMode.NOT_IN, "status", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andCommentStatusIsNull() {
		isnull("comment_status");
		return this;
	}
	
	public ArticleCriteria andCommentStatusIsNotNull() {
		notNull("comment_status");
		return this;
	}
	
	public ArticleCriteria andCommentStatusIsEmpty() {
		empty("comment_status");
		return this;
	}

	public ArticleCriteria andCommentStatusIsNotEmpty() {
		notEmpty("comment_status");
		return this;
	}
       public ArticleCriteria andCommentStatusEqualTo(java.lang.Integer value) {
          addCriterion("comment_status", value, ConditionMode.EQUAL, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andCommentStatusNotEqualTo(java.lang.Integer value) {
          addCriterion("comment_status", value, ConditionMode.NOT_EQUAL, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andCommentStatusGreaterThan(java.lang.Integer value) {
          addCriterion("comment_status", value, ConditionMode.GREATER_THEN, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andCommentStatusGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("comment_status", value, ConditionMode.GREATER_EQUAL, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andCommentStatusLessThan(java.lang.Integer value) {
          addCriterion("comment_status", value, ConditionMode.LESS_THEN, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andCommentStatusLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("comment_status", value, ConditionMode.LESS_EQUAL, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andCommentStatusBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("comment_status", value1, value2, ConditionMode.BETWEEN, "commentStatus", "java.lang.Integer", "Float");
    	  return this;
      }

      public ArticleCriteria andCommentStatusNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("comment_status", value1, value2, ConditionMode.NOT_BETWEEN, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }
        
      public ArticleCriteria andCommentStatusIn(List<java.lang.Integer> values) {
          addCriterion("comment_status", values, ConditionMode.IN, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }

      public ArticleCriteria andCommentStatusNotIn(List<java.lang.Integer> values) {
          addCriterion("comment_status", values, ConditionMode.NOT_IN, "commentStatus", "java.lang.Integer", "Float");
          return this;
      }
	public ArticleCriteria andCommentCountIsNull() {
		isnull("comment_count");
		return this;
	}
	
	public ArticleCriteria andCommentCountIsNotNull() {
		notNull("comment_count");
		return this;
	}
	
	public ArticleCriteria andCommentCountIsEmpty() {
		empty("comment_count");
		return this;
	}

	public ArticleCriteria andCommentCountIsNotEmpty() {
		notEmpty("comment_count");
		return this;
	}
       public ArticleCriteria andCommentCountEqualTo(java.lang.Long value) {
          addCriterion("comment_count", value, ConditionMode.EQUAL, "commentCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andCommentCountNotEqualTo(java.lang.Long value) {
          addCriterion("comment_count", value, ConditionMode.NOT_EQUAL, "commentCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andCommentCountGreaterThan(java.lang.Long value) {
          addCriterion("comment_count", value, ConditionMode.GREATER_THEN, "commentCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andCommentCountGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("comment_count", value, ConditionMode.GREATER_EQUAL, "commentCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andCommentCountLessThan(java.lang.Long value) {
          addCriterion("comment_count", value, ConditionMode.LESS_THEN, "commentCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andCommentCountLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("comment_count", value, ConditionMode.LESS_EQUAL, "commentCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andCommentCountBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("comment_count", value1, value2, ConditionMode.BETWEEN, "commentCount", "java.lang.Long", "Float");
    	  return this;
      }

      public ArticleCriteria andCommentCountNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("comment_count", value1, value2, ConditionMode.NOT_BETWEEN, "commentCount", "java.lang.Long", "Float");
          return this;
      }
        
      public ArticleCriteria andCommentCountIn(List<java.lang.Long> values) {
          addCriterion("comment_count", values, ConditionMode.IN, "commentCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andCommentCountNotIn(List<java.lang.Long> values) {
          addCriterion("comment_count", values, ConditionMode.NOT_IN, "commentCount", "java.lang.Long", "Float");
          return this;
      }
	public ArticleCriteria andCommentTimeIsNull() {
		isnull("comment_time");
		return this;
	}
	
	public ArticleCriteria andCommentTimeIsNotNull() {
		notNull("comment_time");
		return this;
	}
	
	public ArticleCriteria andCommentTimeIsEmpty() {
		empty("comment_time");
		return this;
	}

	public ArticleCriteria andCommentTimeIsNotEmpty() {
		notEmpty("comment_time");
		return this;
	}
       public ArticleCriteria andCommentTimeEqualTo(java.util.Date value) {
          addCriterion("comment_time", value, ConditionMode.EQUAL, "commentTime", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCommentTimeNotEqualTo(java.util.Date value) {
          addCriterion("comment_time", value, ConditionMode.NOT_EQUAL, "commentTime", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCommentTimeGreaterThan(java.util.Date value) {
          addCriterion("comment_time", value, ConditionMode.GREATER_THEN, "commentTime", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCommentTimeGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("comment_time", value, ConditionMode.GREATER_EQUAL, "commentTime", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCommentTimeLessThan(java.util.Date value) {
          addCriterion("comment_time", value, ConditionMode.LESS_THEN, "commentTime", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCommentTimeLessThanOrEqualTo(java.util.Date value) {
          addCriterion("comment_time", value, ConditionMode.LESS_EQUAL, "commentTime", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCommentTimeBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("comment_time", value1, value2, ConditionMode.BETWEEN, "commentTime", "java.util.Date", "String");
    	  return this;
      }

      public ArticleCriteria andCommentTimeNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("comment_time", value1, value2, ConditionMode.NOT_BETWEEN, "commentTime", "java.util.Date", "String");
          return this;
      }
        
      public ArticleCriteria andCommentTimeIn(List<java.util.Date> values) {
          addCriterion("comment_time", values, ConditionMode.IN, "commentTime", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCommentTimeNotIn(List<java.util.Date> values) {
          addCriterion("comment_time", values, ConditionMode.NOT_IN, "commentTime", "java.util.Date", "String");
          return this;
      }
	public ArticleCriteria andViewCountIsNull() {
		isnull("view_count");
		return this;
	}
	
	public ArticleCriteria andViewCountIsNotNull() {
		notNull("view_count");
		return this;
	}
	
	public ArticleCriteria andViewCountIsEmpty() {
		empty("view_count");
		return this;
	}

	public ArticleCriteria andViewCountIsNotEmpty() {
		notEmpty("view_count");
		return this;
	}
       public ArticleCriteria andViewCountEqualTo(java.lang.Long value) {
          addCriterion("view_count", value, ConditionMode.EQUAL, "viewCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andViewCountNotEqualTo(java.lang.Long value) {
          addCriterion("view_count", value, ConditionMode.NOT_EQUAL, "viewCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andViewCountGreaterThan(java.lang.Long value) {
          addCriterion("view_count", value, ConditionMode.GREATER_THEN, "viewCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andViewCountGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("view_count", value, ConditionMode.GREATER_EQUAL, "viewCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andViewCountLessThan(java.lang.Long value) {
          addCriterion("view_count", value, ConditionMode.LESS_THEN, "viewCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andViewCountLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("view_count", value, ConditionMode.LESS_EQUAL, "viewCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andViewCountBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("view_count", value1, value2, ConditionMode.BETWEEN, "viewCount", "java.lang.Long", "Float");
    	  return this;
      }

      public ArticleCriteria andViewCountNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("view_count", value1, value2, ConditionMode.NOT_BETWEEN, "viewCount", "java.lang.Long", "Float");
          return this;
      }
        
      public ArticleCriteria andViewCountIn(List<java.lang.Long> values) {
          addCriterion("view_count", values, ConditionMode.IN, "viewCount", "java.lang.Long", "Float");
          return this;
      }

      public ArticleCriteria andViewCountNotIn(List<java.lang.Long> values) {
          addCriterion("view_count", values, ConditionMode.NOT_IN, "viewCount", "java.lang.Long", "Float");
          return this;
      }
	public ArticleCriteria andCreatedIsNull() {
		isnull("created");
		return this;
	}
	
	public ArticleCriteria andCreatedIsNotNull() {
		notNull("created");
		return this;
	}
	
	public ArticleCriteria andCreatedIsEmpty() {
		empty("created");
		return this;
	}

	public ArticleCriteria andCreatedIsNotEmpty() {
		notEmpty("created");
		return this;
	}
       public ArticleCriteria andCreatedEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCreatedNotEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.NOT_EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCreatedGreaterThan(java.util.Date value) {
          addCriterion("created", value, ConditionMode.GREATER_THEN, "created", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCreatedGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.GREATER_EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCreatedLessThan(java.util.Date value) {
          addCriterion("created", value, ConditionMode.LESS_THEN, "created", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCreatedLessThanOrEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.LESS_EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCreatedBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("created", value1, value2, ConditionMode.BETWEEN, "created", "java.util.Date", "String");
    	  return this;
      }

      public ArticleCriteria andCreatedNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("created", value1, value2, ConditionMode.NOT_BETWEEN, "created", "java.util.Date", "String");
          return this;
      }
        
      public ArticleCriteria andCreatedIn(List<java.util.Date> values) {
          addCriterion("created", values, ConditionMode.IN, "created", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andCreatedNotIn(List<java.util.Date> values) {
          addCriterion("created", values, ConditionMode.NOT_IN, "created", "java.util.Date", "String");
          return this;
      }
	public ArticleCriteria andModifiedIsNull() {
		isnull("modified");
		return this;
	}
	
	public ArticleCriteria andModifiedIsNotNull() {
		notNull("modified");
		return this;
	}
	
	public ArticleCriteria andModifiedIsEmpty() {
		empty("modified");
		return this;
	}

	public ArticleCriteria andModifiedIsNotEmpty() {
		notEmpty("modified");
		return this;
	}
       public ArticleCriteria andModifiedEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andModifiedNotEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.NOT_EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andModifiedGreaterThan(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.GREATER_THEN, "modified", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andModifiedGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.GREATER_EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andModifiedLessThan(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.LESS_THEN, "modified", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andModifiedLessThanOrEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.LESS_EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andModifiedBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("modified", value1, value2, ConditionMode.BETWEEN, "modified", "java.util.Date", "String");
    	  return this;
      }

      public ArticleCriteria andModifiedNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("modified", value1, value2, ConditionMode.NOT_BETWEEN, "modified", "java.util.Date", "String");
          return this;
      }
        
      public ArticleCriteria andModifiedIn(List<java.util.Date> values) {
          addCriterion("modified", values, ConditionMode.IN, "modified", "java.util.Date", "String");
          return this;
      }

      public ArticleCriteria andModifiedNotIn(List<java.util.Date> values) {
          addCriterion("modified", values, ConditionMode.NOT_IN, "modified", "java.util.Date", "String");
          return this;
      }
	public ArticleCriteria andFlagIsNull() {
		isnull("flag");
		return this;
	}
	
	public ArticleCriteria andFlagIsNotNull() {
		notNull("flag");
		return this;
	}
	
	public ArticleCriteria andFlagIsEmpty() {
		empty("flag");
		return this;
	}

	public ArticleCriteria andFlagIsNotEmpty() {
		notEmpty("flag");
		return this;
	}
        public ArticleCriteria andFlagLike(java.lang.String value) {
    	   addCriterion("flag", value, ConditionMode.FUZZY, "flag", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andFlagNotLike(java.lang.String value) {
          addCriterion("flag", value, ConditionMode.NOT_FUZZY, "flag", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andFlagEqualTo(java.lang.String value) {
          addCriterion("flag", value, ConditionMode.EQUAL, "flag", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFlagNotEqualTo(java.lang.String value) {
          addCriterion("flag", value, ConditionMode.NOT_EQUAL, "flag", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFlagGreaterThan(java.lang.String value) {
          addCriterion("flag", value, ConditionMode.GREATER_THEN, "flag", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFlagGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("flag", value, ConditionMode.GREATER_EQUAL, "flag", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFlagLessThan(java.lang.String value) {
          addCriterion("flag", value, ConditionMode.LESS_THEN, "flag", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFlagLessThanOrEqualTo(java.lang.String value) {
          addCriterion("flag", value, ConditionMode.LESS_EQUAL, "flag", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFlagBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("flag", value1, value2, ConditionMode.BETWEEN, "flag", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andFlagNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("flag", value1, value2, ConditionMode.NOT_BETWEEN, "flag", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andFlagIn(List<java.lang.String> values) {
          addCriterion("flag", values, ConditionMode.IN, "flag", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andFlagNotIn(List<java.lang.String> values) {
          addCriterion("flag", values, ConditionMode.NOT_IN, "flag", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andMetaKeywordsIsNull() {
		isnull("meta_keywords");
		return this;
	}
	
	public ArticleCriteria andMetaKeywordsIsNotNull() {
		notNull("meta_keywords");
		return this;
	}
	
	public ArticleCriteria andMetaKeywordsIsEmpty() {
		empty("meta_keywords");
		return this;
	}

	public ArticleCriteria andMetaKeywordsIsNotEmpty() {
		notEmpty("meta_keywords");
		return this;
	}
        public ArticleCriteria andMetaKeywordsLike(java.lang.String value) {
    	   addCriterion("meta_keywords", value, ConditionMode.FUZZY, "metaKeywords", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andMetaKeywordsNotLike(java.lang.String value) {
          addCriterion("meta_keywords", value, ConditionMode.NOT_FUZZY, "metaKeywords", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andMetaKeywordsEqualTo(java.lang.String value) {
          addCriterion("meta_keywords", value, ConditionMode.EQUAL, "metaKeywords", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaKeywordsNotEqualTo(java.lang.String value) {
          addCriterion("meta_keywords", value, ConditionMode.NOT_EQUAL, "metaKeywords", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaKeywordsGreaterThan(java.lang.String value) {
          addCriterion("meta_keywords", value, ConditionMode.GREATER_THEN, "metaKeywords", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaKeywordsGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("meta_keywords", value, ConditionMode.GREATER_EQUAL, "metaKeywords", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaKeywordsLessThan(java.lang.String value) {
          addCriterion("meta_keywords", value, ConditionMode.LESS_THEN, "metaKeywords", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaKeywordsLessThanOrEqualTo(java.lang.String value) {
          addCriterion("meta_keywords", value, ConditionMode.LESS_EQUAL, "metaKeywords", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaKeywordsBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("meta_keywords", value1, value2, ConditionMode.BETWEEN, "metaKeywords", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andMetaKeywordsNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("meta_keywords", value1, value2, ConditionMode.NOT_BETWEEN, "metaKeywords", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andMetaKeywordsIn(List<java.lang.String> values) {
          addCriterion("meta_keywords", values, ConditionMode.IN, "metaKeywords", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaKeywordsNotIn(List<java.lang.String> values) {
          addCriterion("meta_keywords", values, ConditionMode.NOT_IN, "metaKeywords", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andMetaDescriptionIsNull() {
		isnull("meta_description");
		return this;
	}
	
	public ArticleCriteria andMetaDescriptionIsNotNull() {
		notNull("meta_description");
		return this;
	}
	
	public ArticleCriteria andMetaDescriptionIsEmpty() {
		empty("meta_description");
		return this;
	}

	public ArticleCriteria andMetaDescriptionIsNotEmpty() {
		notEmpty("meta_description");
		return this;
	}
        public ArticleCriteria andMetaDescriptionLike(java.lang.String value) {
    	   addCriterion("meta_description", value, ConditionMode.FUZZY, "metaDescription", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andMetaDescriptionNotLike(java.lang.String value) {
          addCriterion("meta_description", value, ConditionMode.NOT_FUZZY, "metaDescription", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andMetaDescriptionEqualTo(java.lang.String value) {
          addCriterion("meta_description", value, ConditionMode.EQUAL, "metaDescription", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaDescriptionNotEqualTo(java.lang.String value) {
          addCriterion("meta_description", value, ConditionMode.NOT_EQUAL, "metaDescription", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaDescriptionGreaterThan(java.lang.String value) {
          addCriterion("meta_description", value, ConditionMode.GREATER_THEN, "metaDescription", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaDescriptionGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("meta_description", value, ConditionMode.GREATER_EQUAL, "metaDescription", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaDescriptionLessThan(java.lang.String value) {
          addCriterion("meta_description", value, ConditionMode.LESS_THEN, "metaDescription", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaDescriptionLessThanOrEqualTo(java.lang.String value) {
          addCriterion("meta_description", value, ConditionMode.LESS_EQUAL, "metaDescription", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaDescriptionBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("meta_description", value1, value2, ConditionMode.BETWEEN, "metaDescription", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andMetaDescriptionNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("meta_description", value1, value2, ConditionMode.NOT_BETWEEN, "metaDescription", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andMetaDescriptionIn(List<java.lang.String> values) {
          addCriterion("meta_description", values, ConditionMode.IN, "metaDescription", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andMetaDescriptionNotIn(List<java.lang.String> values) {
          addCriterion("meta_description", values, ConditionMode.NOT_IN, "metaDescription", "java.lang.String", "String");
          return this;
      }
	public ArticleCriteria andRemarksIsNull() {
		isnull("remarks");
		return this;
	}
	
	public ArticleCriteria andRemarksIsNotNull() {
		notNull("remarks");
		return this;
	}
	
	public ArticleCriteria andRemarksIsEmpty() {
		empty("remarks");
		return this;
	}

	public ArticleCriteria andRemarksIsNotEmpty() {
		notEmpty("remarks");
		return this;
	}
        public ArticleCriteria andRemarksLike(java.lang.String value) {
    	   addCriterion("remarks", value, ConditionMode.FUZZY, "remarks", "java.lang.String", "String");
    	   return this;
      }

      public ArticleCriteria andRemarksNotLike(java.lang.String value) {
          addCriterion("remarks", value, ConditionMode.NOT_FUZZY, "remarks", "java.lang.String", "String");
          return this;
      }
      public ArticleCriteria andRemarksEqualTo(java.lang.String value) {
          addCriterion("remarks", value, ConditionMode.EQUAL, "remarks", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andRemarksNotEqualTo(java.lang.String value) {
          addCriterion("remarks", value, ConditionMode.NOT_EQUAL, "remarks", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andRemarksGreaterThan(java.lang.String value) {
          addCriterion("remarks", value, ConditionMode.GREATER_THEN, "remarks", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andRemarksGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("remarks", value, ConditionMode.GREATER_EQUAL, "remarks", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andRemarksLessThan(java.lang.String value) {
          addCriterion("remarks", value, ConditionMode.LESS_THEN, "remarks", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andRemarksLessThanOrEqualTo(java.lang.String value) {
          addCriterion("remarks", value, ConditionMode.LESS_EQUAL, "remarks", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andRemarksBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("remarks", value1, value2, ConditionMode.BETWEEN, "remarks", "java.lang.String", "String");
    	  return this;
      }

      public ArticleCriteria andRemarksNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("remarks", value1, value2, ConditionMode.NOT_BETWEEN, "remarks", "java.lang.String", "String");
          return this;
      }
        
      public ArticleCriteria andRemarksIn(List<java.lang.String> values) {
          addCriterion("remarks", values, ConditionMode.IN, "remarks", "java.lang.String", "String");
          return this;
      }

      public ArticleCriteria andRemarksNotIn(List<java.lang.String> values) {
          addCriterion("remarks", values, ConditionMode.NOT_IN, "remarks", "java.lang.String", "String");
          return this;
      }
}